<template>
    <div class="bigdiv">
        <van-card v-for="item in list" :key="item">
            <template #tags>
                <div>当前项目：{{ item.entryName }}</div>
                <div>当前负责人：{{ item.recipient }}</div>
                <div>本项目进场时间：{{ item.approvalTime }}</div>
                <!-- <div>上一负责人：{{ item.projectLeader }}</div> -->
                <div>上一项目点：{{ item.befores }}</div>
                <div>申请转移时间：{{ item.applicationTime }}</div>
                <div>申请转移人：{{ item.applicant }}</div>
                <div>审批人：{{ item.approver }}</div>
            </template>
            <template #footer>
            </template>
        </van-card>
    </div>
</template>

<script setup>
import { defineProps, onMounted, ref } from 'vue';
import {
    //获取数据列表
    gettables,
    //按部门查询
    gettablebm,
    getzslist,
} from "../../sevce/user";
const props = defineProps({
    zhuisId: Number
})
//追溯
let list = ref()
function zhuis() {
    getzslist(props.zhuisId).then((res) => {
        console.log(res.data)
        list.value = res.data
    })
}
onMounted(() => {
    zhuis()
    // console.log(props.zhuisId)
})
</script>

<style lang="scss" scoped>
.bigdiv {
    margin: 0 10px 0 30px;
}
</style>